(message_log_check_duplicate): Let "..."-detection match
authorMiles Bader <miles@gnu.org>
Sat, 18 Nov 2000 14:39:14 +0000 (14:39 +0000)
committerMiles Bader <miles@gnu.org>
Sat, 18 Nov 2000 14:39:14 +0000 (14:39 +0000)
lines that *end* with "..." too (that's the most common case!).

src/xdisp.c

index b7343c47caa3b7cf044f694f0c8aca98beb5d3bb..0fccd3794920587e27ed5c12bf42fecd574720d8 100644 (file)
@@ -5352,8 +5352,7 @@ message_log_check_duplicate (prev_bol, prev_bol_byte, this_bol, this_bol_byte)
 
   for (i = 0; i < len; i++)
     {
-      if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.'
-         && p1[i] != '\n')
+      if (i >= 3 && p1[i-3] == '.' && p1[i-2] == '.' && p1[i-1] == '.')
        seen_dots = 1;
       if (p1[i] != p2[i])
        return seen_dots;